package com.example.bean;

public final class A {

    private InterfaceB b;

    public interface InterfaceB {
        void test();
    }

    public void registerInterface(InterfaceB b) {
        this.b = b;
    }

}
